﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Http;

namespace MementoClient.Classes
{
    public static class Helpers
    {
        public static HttpClient GetHttpClient()
        {
            var clientHandler = new HttpClientHandler();
            clientHandler.UseDefaultCredentials = true;
            clientHandler.PreAuthenticate = true;
            clientHandler.ClientCertificateOptions = ClientCertificateOption.Automatic;
            return new HttpClient(clientHandler);
        }
    }
}
